#ifndef ____FML_WF5803_H_
#define ____FML_WF5803_H_

#include "hc32_ll.h"
#include "hdl_iic.h"
#include "hdl_clk.h"

void wf5803_1_read(uint8_t dev_addr, uint8_t reg_addr, uint8_t *data, uint16_t len);
void wf5803_2_read(uint8_t dev_addr, uint8_t reg_addr, uint8_t *data, uint16_t len);
void wf5803_3_read(uint8_t dev_addr, uint8_t reg_addr, uint8_t *data, uint16_t len);
void wf5803_4_read(uint8_t dev_addr, uint8_t reg_addr, uint8_t *data, uint16_t len);

void wf5803_1_write(uint8_t dev_addr, uint8_t reg_addr, uint8_t *data, uint16_t len);
void wf5803_2_write(uint8_t dev_addr, uint8_t reg_addr, uint8_t *data, uint16_t len);
void wf5803_3_write(uint8_t dev_addr, uint8_t reg_addr, uint8_t *data, uint16_t len);
void wf5803_4_write(uint8_t dev_addr, uint8_t reg_addr, uint8_t *data, uint16_t len);




#endif
